package com.parseword1;

public class WordSensitiveHandler implements WordHandler {
	@Override
	public Object execute(WordConfig word) {
		StringBuilder text = new StringBuilder();
		text.append(word.jumpText);
		text.append("*");
		Object endText = word.wordNodes.exec(word.endText,word.endText);
		if(endText!=null){
			text.append(endText);
		}
		return text.toString();
	}
}
